import Vue from 'vue'
import App from './App.vue'
import loadRouter from './router'
import store from './store'
import ElementUI from 'element-ui'
import MessageBox from '@/components/message-box/index'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/iconfont/iconfont.css'

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(MessageBox)
loadRouter().then(router => {
  new Vue({
    router,
    store,
    render: h => h(App)
  }).$mount('#app')
})
